﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <!-- 自己的系统风格统一. -->
    <link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
    <link href="../../../Scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(function () {

            InitBar(OvertimeRole.SendMessageToEmp);
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Node", nodeID);
            if (node.OutTimeDeal == OvertimeRole.SendMessageToEmp)
                $("#TB_SendEmps").val(node.DoOutTime)


        });

        function Save() {
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Node", nodeID);
            node.OutTimeDeal = OvertimeRole.SendMessageToEmp;
            node.DoOutTime = $("#TB_SendEmps").val();
            node.Update();
            alert("保存成功.");
        }
    </script>
</head>
<body>

    <div id="bar"> </div>

    <fieldset>
        <legend><label for="RB_OutTimeDeal_4">给指定的人员发送消息. </label> </legend>
        <br />
        <a href="javascript:ShowHidden('emps');"> 请输入要发送的工作人员：</a>
        <br />
        <div id="emps" style="display:none">
            <ul>
                <li>接受输入的必须是人员的工作帐号。</li>
                <li>如果有多个人元用半角的逗号分开，比如: zhangsan,lisi。</li>
                <li>超时后，系统就会向这些人员发送消息。</li>
            </ul>
        </div>
        <input id="TB_SendEmps" name="TB_SendEmps" type="text" />

    </fieldset>
</body>
</html>
